﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DotHandler
{
    public class Joint<T> : Lista<T>
    {
        #region Construtor
        public Joint(uint size) : base(size) { }
        #endregion

        #region Métodos
        public void Sync(Type referer, ref dynamic side, ref dynamic aside)
        {
            dynamic t = Activator.CreateInstance(referer);
            t.Create(ref side, ref aside);
            this.Add(t);
        }
        #endregion

    }
}
